package com.lovegu.heap.impl;

/**
 * <p>
 * 最大堆
 * </p>
 *
 * @author 老顾
 * @since 2023-06-30
 */
public class MaxHeap extends Heap<Integer>{

    @Override
    public int compareTo(Integer firstElement, Integer secondElement) {
        return secondElement.compareTo(firstElement);
    }

}
